@layout("/common/_container.html"){
<link rel="stylesheet" href="${ctxPath}/static/layui/css/layui.css" media="all">
<form class="layui-form">
<!--    2代表编辑-->
    <input hidden id="optype" value="2">
    <input hidden id="id" value="${item.id}"/>
    <input hidden id="pre_status" value="${item.status}">
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px;">域名名称</label>
        <div class="layui-input-block">
            <input id="domainName" disabled type="text" class="layui-input" value="${item.urlName}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-form-label" style="width: 100px;">域名状态</div>
        <div class="layui-input-block" id="sel-status">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px;">域名类型</label>
        <div class="layui-input-block">
            <input id="type" disabled type="text" class="layui-input" value="${item.type == 1 ? '资源域名' : '落地页域名'}"/>
        </div>
    </div>
    <button class="layui-btn" onclick="DomainInfoInfoDlg.editSubmit()">提交</button>
    <button class="layui-btn" onclick="DomainInfoInfoDlg.close()">取消</button>
</form>
<script src="${ctxPath}/static/layui/layui.js"></script>
<script src="${ctxPath}/static/modular/domain_manage/domainInfo/domainInfo_info.js"></script>
<script type="text/html" id="status-sel-list">
    <select id="status">
    {{#  layui.each(d.list, function(index, item){ }}
    <option
            {{# if(d.value === item.value) {  }}
            selected
            {{# }}}
            value={{item.value}}>{{item.title}}
    </option>
    {{#  }); }}
    </select>
</script>
<script>

</script>
@}
